For windows programming in C++, how to make active window to either maximize or minimize?
For mouse down events we use something like mi.dwFlags = MOUSEEVENTF_LEFTDOWN
and send it to the system using SendInput()
function. I assume these are defined in windows.h.
How to achieve the maximize or minimize on these lines?